package com.xbongbong.paas.pojo.workflow.operate.dto;

import com.alibaba.fastjson.JSONObject;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 暂存
 * @author 魏荣杰
 *
 */
@Setter
@Getter
@ToString
public class WorkflowStorageDTO extends BaseDTO {
    private static final long serialVersionUID = -294820409383651044L;

    /**
     * 流程任务节点id
     */
    @NotNull(message = "{dto.msg.processNodeTaskUpdate.processNodeTaskId.NotNull}")
    private Long taskNodeId;


    /**
     * 表单数据
     */
    @Getter(onMethod_ = {@QueryIgnore})
    @NotNull(message = "{enum.errorCode.msg.api_error_100015}")
    private JSONObject dataList;



    private String serialNo;
}
